package io.renren.modules.cgs.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.modules.cgs.dao.CgsBusinessBookTimeDao;
import io.renren.modules.cgs.entity.CgsBusinessBookTimeEntity;
import io.renren.modules.cgs.service.CgsBusinessBookTimeService;



@Service("cgsBusinessBookTimeService")
public class CgsBusinessBookTimeServiceImpl implements CgsBusinessBookTimeService {
	@Autowired
	private CgsBusinessBookTimeDao cgsBusinessBookTimeDao;
	
	@Override
	public CgsBusinessBookTimeEntity queryObject(String id){
		return cgsBusinessBookTimeDao.queryObject(id);
	}
	
	@Override
	public List<CgsBusinessBookTimeEntity> queryList(Map<String, Object> map){
		return cgsBusinessBookTimeDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return cgsBusinessBookTimeDao.queryTotal(map);
	}
	
	@Override
	public void save(CgsBusinessBookTimeEntity cgsBusinessBookTime){
		cgsBusinessBookTimeDao.save(cgsBusinessBookTime);
	}
	
	@Override
	public void update(CgsBusinessBookTimeEntity cgsBusinessBookTime){
		cgsBusinessBookTimeDao.update(cgsBusinessBookTime);
	}
	
	@Override
	public void delete(String id){
		cgsBusinessBookTimeDao.delete(id);
	}
	
	@Override
	public void deleteBatch(String[] ids){
		cgsBusinessBookTimeDao.deleteBatch(ids);
	}
	
}
